$(function(){
	var page = 1;
	$.ajax({
			type: "POST",
			url: "http://yx.fxtourong.com/V1/Member/myTopic",
			data: {
				phone : $("#phone").val(),
				type : "1",
				page : page
			},
			dataType: "json",
			success: function(data) {
				console.log(data);
				var code = data.code;
				var token = data.data.token;
//				console.log(token);
				localStorage.setItem("token", token);
				if(code == "1") {
					location.href = "mine2.html";
				}
			}
		});
});